<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="/jquery-3.2.1.js"></script>
    <title>jq数组</title>
</head>
<body>
<script>
    var a = new Array(123,45654,56654);
    $.each(a,function (i,n) {
        document.write("a["+i+"]等于："+n);
    })
</script>
</body>
</html>